@import "../font/icon/iconfont.css";
@import "./parts/normalize.css";

*{
	margin: 0;
	padding: 0;
}
html {
    font-family: "Hiragino Sans GB", "Century Gothic", system, Verdana, Tahoma, Microsoft YaHei, Arial;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    outline-style:none;
}
a, a:hover{
	text-decoration: none;
	background-color: transparent;
}
img{
	border: 0;
}
ul, li{
    list-style: none;
}
.fn-clear:after {
    display: block;
    visibility: hidden;
    clear: both;
    overflow: hidden;
    height: 0;
    content: '.';
}
.fn-clear {
    zoom: 1;
}
.fn-left{
    float:left;
}
.fn-right{
    float:right;
}
.fn-rel{
    position:relative;
}
.fn-hide{
    display: none;
}
.container{
    width:1200px;
    margin: 0 auto;
}

/*header css*/
@border: 1px solid;
@red: #cd383e;
@c3: #333;
@c6: #666;
@f5: #f5f5f5;
@borderColor: #c7c7c7;
.red{
    color: @red;
}


/*home*/
.banner-menu{
    height: 560px;
    .subMenu{
        width: 280px;
        background: #555454;
        height: 560px;
    }
    .center-box{
        width: 700px;
        background: #f8f8f8;
        border-bottom: @border #e7e7e7;
        .banner{
            width: 100%;
            height: 340px;
            font-size: 0;
            background: #dedede;
            position: relative;
            overflow: hidden;
            text-align: center;
            ul {
                height: 340px;
                li{
                    height: 340px;
                    float: left;
                }
            }
            .dots {
                position: absolute;
                left: 0;
                right: 0;
                bottom: 20px;
                z-index: 999;
                li{
                    display: inline-block;
                    width: 10px;
                    height: 10px;
                    margin: 0 4px;
                    text-indent: -999em;
                    border: 2px solid #fff;
                    border-radius: 6px;
                    cursor: pointer;
                    opacity: .4;
                    -webkit-transition: background .5s, opacity .5s;
                    -moz-transition: background .5s, opacity .5s;
                    transition: background .5s, opacity .5s;
                    &.active{
                        background: #fff;
                        opacity: 1;
                    }
                }
            }
        }

        .newsBox{
            padding: 16px 15px;
            padding-top: 15px;
            height: 189px;
            overflow: hidden;
            .title{
                height: 24px;
                line-height: 24px;
                margin-top: 10px;
                h2{
                    font-size: 16px;
                    color: @c3;
                }
                a{
                    display: inline-block;
                    font-size: 14px;
                    color: #999;
                }
                a:hover{
                    color: @red;
                    text-decoration: none;
                }
            }
            .news-ul{
                width: 100%;
                margin: 11px 0;
                li{
                    width: 100%;
                    height: 44px;
                    line-height: 44px;
                    a{
                        display: inline-block;
                        width: 655px;
                        float: right;
                        span{
                            font-size: 14px;
                            color: @c6;
                        }
                    }
                    i{
                        display: inline-block;
                        float: left;
                        width: 5px;
                        height: 5px;
                        background: #b7b8b9;
                        border-radius: 2.5px;
                        margin-right: 6px;
                        margin-top: 19.5px;
                    }
                }
                li:hover{
                    a{
                        span{
                            text-decoration: none;
                            color: @red;
                        }
                    }
                    i{
                        background: @red;
                    }
                }
            }

        }
    }
}
.pub-title{
    height: 20px;
    line-height: 20px;
    padding-left: 14px;
    margin-bottom: 23px;
    border-left: 4px @red solid;
    span{
        font-size: 22px;
        color: #333;
        margin-right: 30px;
    }
    ul{
        li{
            float: left;
            color: #333;
            //font-size: 14px;
            margin-right: 30px;
            cursor: pointer;
        }
        li.active,li:hover{
            color: #7d5414;
        }
    }
    a.more{
        display: inline-block;
        font-size: 14px;
        color: #333;
        padding-left: 25px;
        background: url("../img/home/home-icon.png") no-repeat 0 -55px;
    }
    a.more:hover{
        color: @red;
        background-position: 0 -184px;
    }
}
.greement{
    margin-top: 38px;
    .greement-box{
        width: 100%;
        overflow: hidden;
        ul{
            width: 1224px;
            li{
                float: left;
                width: 345px;
                height: auto;
                border-top: 1px #a1886a solid;
                background: #fff;
                padding: 23px;
                overflow: hidden;
                margin-right: 17px;
                position: relative;
                cursor: pointer;
                i{
                    display: inline-block;
                    width: 53px;
                    height: 44px;
                    position: absolute;
                    right: 20px;
                    bottom: 12px;
                    background: url("../img/home/home-icon.png") no-repeat 0 0;
                }
                p{
                    line-height: 30px;
                    height: 30px;
                    font-size: 14px;
                    color: #666;
                    a{
                        display: inline-block;
                        font-size: 16px;
                        color: #333;
                        font-weight: bold;
                    }
                    a:hover{
                        color: @red;
                        text-decoration: none;
                    }
                    span.red{
                        font-size: 18px;
                    }
                }
            }
        }
    }
}
.product-hot{
    margin-top: 35px;
}
.productHot-box{
    ul{
        width: 1224px;
        li{
            float: left;
            width: 250px;
            height: 350px;
            margin-right:20px;
            margin-bottom: 20px;
            padding: 14px;
            background: #fff;
            border: 1px #fff solid;
            cursor: pointer;
            overflow: hidden;
            position: relative;
            a.imgLink{
                display: inline-block;
                margin-top: 10px;
                width: 250px;
                height: 250px;
                img{
                    width: 100%;
                    height: 100%;
                    font-size: 0;
                }
            }
            p{
                a{
                    display: inline-block;
                    font-size: 14px;
                    color: #333;
                    text-align: center;
                    line-height: 18px;
                    height: 54px;
                    overflow: hidden;
                }
            }
            span.xingzhi{
                display: inline-block;
                padding: 0 5px;
                color: #fff;
                font-size: 14px;
                background: #cd383e;
            }
            &:hover{
                border-color: #d5d1c9;
                a.imgLink{
                    margin-top: 5px;
                    margin-bottom: 5px;
                }
                p{
                    a{
                        text-decoration: none;
                    }
                }
                span.xingzhi{
                    background: #bb3339;
                }
            }
        }
    }
}
.product-collection{
    margin-top: 20px;
    a.more{
        background: url("../img/home/home-icon.png") no-repeat 0 -118px;
    }
    a.more:hover{
        background-position: 0 -93px;
    }
    span.shoucang{
        display: inline-block;
        width: 20px;
        height: 20px;
        font-size: 0;
        margin-left: 15px;
        background: url("../img/home/home-icon.png") no-repeat 0 -118px;;
    }
    span.shoucang:hover,span.shoucang.active{
        background-position: 0 -93px;
    }
}
.supplier{
    margin-top: 20px;
    margin-bottom: 90px;
    ul{
        border: @border #f1f1f1;
        border-bottom: 0;
        li{
            width: 552.5px;
            padding: 23px;
            background: #fff;
            border-bottom: @border #f1f1f1;
            float: left;
            position: relative;
            cursor: pointer;
            p{
                line-height: 30px;
                font-size: 14px;
                color: #666;
            }
            p.company-name{
                a{
                    display: inline-block;
                    font-size: 16px;
                    color: #333;
                }
                a:hover{
                    text-decoration: none;
                    color: @red;
                }
            }
            p.fenshu{
                span{
                    font-size: 18px;
                }
            }
            p.start-box{
                height: 17px;
                margin-left: 30px;
                margin-top: 3.5px;
                overflow: hidden;
                i{
                    display: inline-block;
                    width: 16px;
                    height: 17px;
                    font-size: 0;
                    background: url("../img/home/home-icon.png") no-repeat 0 -165px;
                }
                i.active{
                    background-position: 0 -143px;
                }
            }
            .companyLogo{
                width: 173px;
                height: 46px;
                position: absolute;
                right: 23px;
                bottom:23px;
            }
            &:hover{
                background: #EEEEEE;
            }
            .jdBar{
                display: inline-block;
                width: 165px;
                height: 7px;
                border-radius: 10px;
                border: 1px solid #ddd1ba;
                margin-left: 20px;
                position: relative;
                i{
                    display: inline-block;
                    height: 100%;
                    background-color: #ddd1ba;
                    position: absolute;
                    border-radius: 10px;
                }
            }
        }

    }
}
